<div class="febs-container" id="incentiveQuotaApply-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="incentiveQuotaApply-edit-form">
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label febs-form-item-require">主键：</label>
                <div class="layui-input-block">
                    <input type="text" name="quotaApplyId" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label febs-form-item-require">公司Id：</label>
                <div class="layui-input-block">
                    <input type="text" name="tenantId" autocomplete="off" class="layui-input"
                           maxlength="32" >
                </div>
            </div>
            <div class="layui-card">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">额度申请信息</blockquote>
                <div class="layui-field-box">
                    <div class="layui-form-item" >
                        <div class="layui-row">
                            <div class="layui-col-xs4">
                                <label class="layui-form-label">当前总额度</label>
                                <div style="color: red" class="layui-input-block layui-input-block-html"  th:text="${incentiveQuotaApply.totalQuota}">
                                </div>
                            </div>
                            <div class="layui-col-xs4">
                                <label class="layui-form-label">已奖励额度</label>
                                <div style="color: red" class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.rewardedQuota}">
                                </div>
                            </div>
                            <div class="layui-col-xs4">
                                <label class="layui-form-label">剩余额度</label>
                                <div style="color: red" class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.remindedQuota}">
                                </div>
                            </div>
                        </div>
                        <div class="layui-row">
                            <div style="color: red;margin-left: 25px" class="layui-input-block layui-input-block-html" th:text="注意：申请的额度大于计算值（根据罚款奖金比例计算得出的奖励限额）时以申请的额度为准，申请的额度小于计算值（根据罚款奖金比例计算得出的奖励限额）时以罚款奖金比例计算得出的奖励限额为准"></div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">申请编号：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.quotaApplyNo}"></div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">申请年份：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="year" name="year" autocomplete="off" class="layui-input"
                                           maxlength="4" >
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item febs-hide">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">用户Id：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="userId" autocomplete="off" class="layui-input"
                                           maxlength="32" >
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item febs-hide">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">申请人员：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="realName" autocomplete="off" class="layui-input"
                                           maxlength="150" >
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">用户工号：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="userNo" autocomplete="off" class="layui-input"
                                           maxlength="64" >
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item febs-hide">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">部门Id：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="deptId" autocomplete="off" class="layui-input"
                                           maxlength="32" >
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item febs-hide">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">部门：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="deptName" autocomplete="off" class="layui-input"
                                           maxlength="150" >
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs6">
                                <label class="layui-form-label febs-form-item-require">申请额度：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="applyQuota" autocomplete="off" class="layui-input"
                                           onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="8" >
                                </div>
                            </div>
                            <div class="layui-col-xs6">
                                <label class="layui-form-label" style="width: 100px;">罚款奖励额度：</label>
                                <div style="color: red" class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.fineCalQuota}"></div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label febs-form-item-require">申请理由：</label>
                                <div class="layui-input-block">
                                    <textarea name="applyRemark" class="layui-textarea" maxlength="900" placeholder="请输入备注" lay-verify="required"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">审核人Id：</label>
                        <div class="layui-input-block">
                            <input type="text" name="auditUserId" autocomplete="off" class="layui-input"
                                   maxlength="32" >
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">审核人姓名：</label>
                        <div class="layui-input-block">
                            <input type="text" name="auditRealName" autocomplete="off" class="layui-input"
                                   maxlength="150" >
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">审核时间：</label>
                        <div class="layui-input-block">
                            <input type="text" name="auditDate" autocomplete="off" class="layui-input"
                                   maxlength="8" >
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">审核备注：</label>
                        <div class="layui-input-block">
                            <input type="text" name="auditRemark" autocomplete="off" class="layui-input"
                                   maxlength="800" >
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label febs-form-item-require">状态：</label>
                        <div class="layui-input-block">
                            <input type="text" name="status" autocomplete="off" class="layui-input"
                                   maxlength="2" >
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-card">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">审核信息</blockquote>
                <div class="layui-field-box">
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs6">
                                <label class="layui-form-label">审核人：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.auditRealName}"></div>
                            </div>
                            <div class="layui-col-xs6">
                                <label class="layui-form-label">审核结果：</label>
                                <div th:switch="${incentiveQuotaApply.status}">
                                    <div th:case="4" class="layui-input-block layui-input-block-html">审核退回</div>
                                    <div th:case="3" class="layui-input-block layui-input-block-html">审核通过</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs6">
                                <label class="layui-form-label">审核理由：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${incentiveQuotaApply.auditRemark}"></div>
                            </div>
                            <div class="layui-col-xs6">
                                <label class="layui-form-label">审核时间：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${#dates.format(incentiveQuotaApply.auditDate,'yyyy-MM-dd HH:mm:ss')}"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item febs-hide">
                <button class="layui-btn" lay-submit="" lay-filter="incentiveQuotaApply-edit-form-submit" id="submit"></button>
                <button type="reset" class="layui-btn" id="reset"></button>
            </div>
        </form>
    </div>
</div>
<script data-th-inline="javascript">
    var incentiveQuotaApplyData = [[${incentiveQuotaApply}]];
</script>
<script th:src="@{/febs/js/incentive/incentiveQuotaApply/incentiveQuotaApplyEdit.js(v=1)}"></script>